package com.easidea.tim.flex.bean.system
{
	import net.digitalprimates.persistence.hibernate.HibernateBean;
	import com.easidea.tim.flex.bean.system.Geography;
	import com.easidea.tim.flex.bean.BaseEntity;
	
	import mx.collections.ArrayCollection;
	[RemoteClass(alias="com.easidea.tim.entity.system.orgnization.Department")]
	[Managed]
	public dynamic class Department extends BaseEntity
	{

		public var name:String;
		public var area:Geography; // 所属地区
		public var parentDept:Department; // 上级部门
		public var sonList:ArrayCollection; // 子部门列表
		public var children : ArrayCollection; // Tree控件显示用，每次LazyLoading的时候，添加相应内容到该属性

	}
}